<!-- index.php -->
<?php 
	header("Content-type: text/html; charset=utf-8");
	$c = $_GET['c'];
	$m = $_GET['m'];
	$clsname = ucfirst($c).'Controller';//单词首字母大写
	require "$clsname.php";
	$userCtrl = new $clsname();
	$userCtrl->$m();
	//$userCtrl = new UserController();
	//$data = $userCtrl->listusers();

 ?>